ExamPlay Light Logo
Hyni

Computer Science for IGCSE & O level - Programming (Section 6 - No. 22)

What is the purpose of a `break` statement within a loop in most programming languages?
To start the next iteration of the loop.
To exit the loop prematurely.
To skip the current iteration of the loop.
To define the loop's condition.

Shpjegimi

The `break` statement immediately exits the loop.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc